package com.hzw.saas.api.rss.bo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.hzw.saas.common.config.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 期刊站点
 * </p>
 *
 * @author sonam
 * @since 2021-06-30
 */
@Data
@Accessors(chain = true)
public class JournalBO extends BaseBO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String articleId;

    @Excel(name = "分类名称")
    @ApiModelProperty(value = "分类名称")
    private String catalogName;

    @Excel(name = "分类id")
    @ApiModelProperty(value = "分类id")
    private String catalogId;

    @Excel(name = "期刊名称")
    @ApiModelProperty(value = "期刊名称")
    private String journalName;

    @Excel(name = "期刊号")
    @ApiModelProperty(value = "期刊号")
    private String journalIssn;

    @Excel(name = "期刊介绍")
    @ApiModelProperty(value = "期刊介绍")
    private String journalDesc;

    @ApiModelProperty(value = "期刊封面url")
    private String journalImg;

    @Excel(name = "期刊级别（分区）")
    @ApiModelProperty(value = "期刊级别（分区）")
    private String journalLevel;

    @Excel(name = "出版商名称")
    @ApiModelProperty(value = "出版商名称")
    private String publisher;

    @Excel(name = "RSS地址")
    @ApiModelProperty(value = "RSS地址（json数组）")
    private String rssUrl;


    @ApiModelProperty(value = "期刊地址地址（json数组）")
    private String journalUrl;


    @ApiModelProperty(value = "最近同步时间")
    private Date syncTime;

    @ApiModelProperty(value = "未读数量")
    private Integer unReadNum;

    @ApiModelProperty(value = "期刊类型")
    private Integer journalType;

    @ApiModelProperty(value = "站点健康检查，1：正常，0：失败")
    private Integer health;

    @ApiModelProperty(value = "失败次数")
    private Integer failureCount;
}
